
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.CardTime;
import com.cmc.dao.CardTimeDao;

public interface CardTimeManager extends Manager {
    /**
     * Retrieves all of the cardTimes
     */
    public List getCardTimes(CardTime cardTime);

    /**
     * Gets cardTime's information based on id.
     * @param id the cardTime's id
     * @return cardTime populated cardTime object
     */
    public CardTime getCardTime(final String id);

    /**
     * Saves a cardTime's information
     * @param cardTime the object to be saved
     */
    public void saveCardTime(CardTime cardTime);

    /**
     * Removes a cardTime from the database by id
     * @param id the cardTime's id
     */
    public void removeCardTime(final String id);
}

